package ooday01;
/** 汽车Car类的测试 */
public class CarTest {
    public static void main(String[] args) {
        Car ca = new Car();
        ca.brand = "奔驰";
        ca.color = "黑";
        ca.price = 100;
        ca.start();
        ca.run();
        ca.stop();

        Car car = new Car("大众","蓝",10);
        car.start();
        car.run();
        car.stop();

        Car car1 = new Car();
        car1.start();
        car1.run();
        car1.stop();
    }

}
